<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	
<ui:composition>
	<rich:spacer height="8" />

<style>
.viewsourcepanel {
	padding-bottom: 0px;
	width: 100%;
	overflow: auto;
	border-width: 0;
	background-color: #FFF;
}

.viewsourcebody {
	padding: 0;
}

.viewsourceheader {
	background-color: #E6F3F7;
	background-image: none;
	border-width: 0px;
	padding: 0px;
	height: 6px;
}

.viewsourcediv {
	padding: 0 10px 10px 3px;
}
</style>
 <f:subview >
	<div style="width: 483px" class="viewsourcediv">
	<rich:panel id="source1"
		bodyClass="viewsourcebody" headerClass="viewsourceheader"
		styleClass="viewsourcepanel">
		<div style="width: 1000px;">
		<rich:panelBar style="height:auto;border-bottom:none;width: 2000px">
		<!-- Bang du lieu -->
		<h:form>
		 <h:panelGrid columns="1" style="margin-left:0px;">
					<h:outputText value="Danh sách thành viên tương ứng với từng đoàn vào Việt Nam"></h:outputText>		       		
			</h:panelGrid>
			
				<h:dataTable id="list" value="#{f3_9FuncInfo.list}" var="item" 
							columnClasses="column" headerClass="TableHeader" rowClasses="ROW1,ROW2" footerClass="TableFooter" 
				       style="width:100%; margin-left:0px;margin-top: 10px" cellspacing="1px;" rows="5">
					<h:column>
						<f:facet name="header">
							<h:outputText value="STT"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.stt}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Thông tin thành viên"></h:outputText>
						</f:facet>
							<h:dataTable id="list" value="#{item.members}" var="mem" 
									columnClasses="column" headerClass="TableHeader" rowClasses="ROW1,ROW2" footerClass="TableFooter" 
						       style="width:100%; margin-left:0px;margin-top: 0px" cellspacing="1px;">
							<h:column>
								<f:facet name="header">
									<h:outputText value="Quốc tịch"></h:outputText>
								</f:facet>
								<h:outputText value="#{mem.quocTich}"></h:outputText>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Tên"></h:outputText>
								</f:facet>
								<h:outputText value="#{mem.tenThanhVien}"></h:outputText>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Giới tính"></h:outputText>
								</f:facet>
								<h:outputText value="#{mem.gioiTinh}"></h:outputText>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Số hộ chiếu"></h:outputText>
								</f:facet>
								<h:outputText value="#{mem.soHoChieu}"></h:outputText>
							</h:column>
							</h:dataTable>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Cơ quan đề nghị tiếp Đoàn"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.coQuanDeNghi}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Nội dung"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.noiDung}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Địa điểm"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.diaDiem}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="TG vào làm việc"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.tgDenLamViec}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Lĩnh vực/Mục đích"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.linhVucMucDich}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Số lượng TV"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.soThanhVien}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Số VB UBT"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.sovbUBT}"></h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Ngày hát hành VB UBT"></h:outputText>
						</f:facet>
						<h:outputText value="#{item.ngayPhatHanhVBUBT}"></h:outputText>
					</h:column>
				</h:dataTable>
				<h:outputText value="Tổng cộng đoàn vào: " style="color:red; font-size: 13px;"></h:outputText>
				<h:outputText value="#{f3_9FuncInfo.tongSoDoan}" style="color:red;font-size: 13px;font-weight: bold;"></h:outputText> <br/>
				<h:outputText value="Tổng người nước ngoài vào làm việc: " style="color:red; font-size: 13px;"></h:outputText>
				<h:outputText value="#{f3_9FuncInfo.tongSoNguoiVaoLamViec}" style="color:red;font-size: 13px;font-weight: bold;"></h:outputText>
					<!-- phan trang -->
					<rich:datascroller align="left"  for="list" maxPages="5" />
					<!-- ket thuc phan trang -->
			</h:form>
		<!-- Ket thuc bang du lieu -->
		</rich:panelBar>
		</div>
	</rich:panel>
	</div>
</f:subview>	
</ui:composition>
</html>

